package com.academic.common.core.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.*;

import java.util.Date;
import java.io.Serializable;

/**
 * (SysAttendance)实体类
 *
 * @author makejava
 * @since 2024-10-31 22:40:13
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode(callSuper = false)
@TableName("sys_attendance")
public class SysAttendance implements Serializable {
    private static final long serialVersionUID = 519672868836313800L;

    @TableId(type = IdType.AUTO)
    private Long id;
/**
     * 课程名
     */
    private String courseName;
/**
     * 课程id
     */
    private Long courseId;
/**
     * 上课时间
     */
    private String courseTime;
/**
     * 上课教室
     */
    private String classroom;
/**
     * 0正常1缺勤
     */
    private Integer status;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    private Long userId;


}

